.class public Lcom/glympse/android/glympse/DlgContactPicker;
.super Lcom/glympse/android/glympse/DlgShell;
.source "DlgContactPicker.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;,
        Lcom/glympse/android/glympse/DlgContactPicker$ContactsAdapter;,
        Lcom/glympse/android/glympse/DlgContactPicker$ListKeyListener;,
        Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;,
        Lcom/glympse/android/glympse/DlgContactPicker$Person;
    }
.end annotation


# instance fields
.field private m_oExpandableListView:Landroid/widget/ExpandableListView;

.field private m_oOnContactPickerListener:Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;


# direct methods
.method protected constructor <init>(Landroid/content/Context;Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;)V
    .locals 5
    .parameter "oContext"
    .parameter "oOnContactPickerListener"

    .prologue
    const/4 v4, 0x0

    .line 40
    const v1, 0x7f030006

    invoke-direct {p0, p1, v4, v1}, Lcom/glympse/android/glympse/DlgShell;-><init>(Landroid/content/Context;Ljava/lang/String;I)V

    .line 41
    const v1, 0x7f020040

    invoke-virtual {p0, v1}, Lcom/glympse/android/glympse/DlgContactPicker;->SetTitleIcon(I)V

    .line 42
    const v1, 0x7f0a006e

    invoke-virtual {p0, v1}, Lcom/glympse/android/glympse/DlgContactPicker;->SetTitleText(I)V

    .line 45
    iput-object p2, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oOnContactPickerListener:Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;

    .line 48
    new-instance v0, Lcom/glympse/android/glympse/DlgContactPicker$ContactsAdapter;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/DlgContactPicker$ContactsAdapter;-><init>(Lcom/glympse/android/glympse/DlgContactPicker;)V

    .line 49
    .local v0, oContactsAdapter:Lcom/glympse/android/glympse/DlgContactPicker$ContactsAdapter;
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oViewGroupPanel:Landroid/view/ViewGroup;

    const v2, 0x7f0c0020

    invoke-virtual {v1, v2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ExpandableListView;

    iput-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    .line 50
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    iget-object v2, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oViewGroupPanel:Landroid/view/ViewGroup;

    const v3, 0x7f0c006b

    invoke-virtual {v2, v3}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ExpandableListView;->setEmptyView(Landroid/view/View;)V

    .line 51
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v4}, Landroid/widget/ExpandableListView;->setGroupIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 52
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->setAdapter(Landroid/widget/ExpandableListAdapter;)V

    .line 53
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->setOnChildClickListener(Landroid/widget/ExpandableListView$OnChildClickListener;)V

    .line 54
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->setOnGroupClickListener(Landroid/widget/ExpandableListView$OnGroupClickListener;)V

    .line 55
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->setOnGroupExpandListener(Landroid/widget/ExpandableListView$OnGroupExpandListener;)V

    .line 56
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    new-instance v2, Lcom/glympse/android/glympse/DlgContactPicker$ListKeyListener;

    invoke-direct {v2, p0, v4}, Lcom/glympse/android/glympse/DlgContactPicker$ListKeyListener;-><init>(Lcom/glympse/android/glympse/DlgContactPicker;Lcom/glympse/android/glympse/DlgContactPicker$ListKeyListener;)V

    invoke-virtual {v1, v2}, Landroid/widget/ExpandableListView;->setOnKeyListener(Landroid/view/View$OnKeyListener;)V

    .line 59
    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    invoke-virtual {v1}, Landroid/widget/ExpandableListView;->requestFocus()Z

    .line 60
    return-void
.end method

.method static synthetic access$0(Lcom/glympse/android/glympse/DlgContactPicker;)Landroid/widget/ExpandableListView;
    .locals 1
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oExpandableListView:Landroid/widget/ExpandableListView;

    return-object v0
.end method

.method static synthetic access$1(Lcom/glympse/android/glympse/DlgContactPicker;)Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-object v0, p0, Lcom/glympse/android/glympse/DlgContactPicker;->m_oOnContactPickerListener:Lcom/glympse/android/glympse/DlgContactPicker$OnContactPickerListener;

    return-object v0
.end method
